home *** CD-ROM | disk | FTP | other *** search
/ The Other Thing / The Other Thing.iso / SURF / SURF.EXE / X / 269 < prev    next >
Text File  |  1996-08-14  |  4KB  |  245 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  12;
  136.  30.042248;-8.376208;-26.862730;,
  137.  38.238068;-8.376218;27.970646;,
  138.  -8.442968;-8.376222;53.174805;,
  139.  -45.489296;-8.376216;13.918426;,
  140.  -21.704086;-8.376209;-35.547474;,
  141.  10.440208;44.598236;-24.280184;,
  142.  25.091606;30.326139;22.168808;,
  143.  -13.975555;42.559357;38.302956;,
  144.  -21.428249;50.261753;20.589773;,
  145.  -20.639759;54.792583;-14.006620;,
  146.  1.476519;56.151844;4.943606;,
  147.  1.539244;-8.376215;3.962778;;
  148.  
  149.  20;
  150.  3;0,6,1;,
  151.  3;0,5,6;,
  152.  3;1,7,2;,
  153.  3;1,6,7;,
  154.  3;2,8,3;,
  155.  3;2,7,8;,
  156.  3;3,9,4;,
  157.  3;3,8,9;,
  158.  3;4,5,0;,
  159.  3;4,9,5;,
  160.  3;1,11,0;,
  161.  3;2,11,1;,
  162.  3;3,11,2;,
  163.  3;4,11,3;,
  164.  3;0,11,4;,
  165.  3;5,10,6;,
  166.  3;6,10,7;,
  167.  3;7,10,8;,
  168.  3;8,10,9;,
  169.  3;9,10,5;;
  170.  
  171.  MeshMaterialList {
  172.   1;
  173.   1;
  174.   0;;
  175.   Material {
  176.    0.274510;0.235294;0.109804;1.000000;;
  177.    15.000000;
  178.    1.000000;1.000000;1.000000;;
  179.    0.000000;0.000000;0.000000;;
  180.   }
  181.  }
  182.  MeshNormals {
  183.   22;
  184.   0.802381;0.299642;-0.516139;,
  185.   0.000000;-1.000000;-0.000000;,
  186.   0.717868;0.340557;0.607195;,
  187.   0.000000;-1.000000;-0.000000;,
  188.   -0.511391;0.228373;0.828447;,
  189.   0.000000;-1.000000;-0.000000;,
  190.   -0.953324;0.284124;0.102211;,
  191.   0.000000;-1.000000;-0.000000;,
  192.   -0.359155;0.228237;-0.904939;,
  193.   0.000000;-1.000000;-0.000000;,
  194.   0.368050;0.324083;-0.871498;,
  195.   0.504973;0.844383;-0.178938;,
  196.   0.907302;0.364826;0.209058;,
  197.   0.626058;0.738816;0.249404;,
  198.   -0.011823;0.270658;0.962603;,
  199.   0.241449;0.854462;0.459996;,
  200.   -0.898412;0.213358;0.383840;,
  201.   -0.070027;0.963057;0.260034;,
  202.   -0.787522;0.334535;-0.517586;,
  203.   0.019623;0.995351;-0.094296;,
  204.   0.281040;0.947494;0.152551;,
  205.   0.000000;-1.000000;-0.000000;;
  206.  
  207.   20;
  208.   3;0,12,2;,
  209.   3;0,10,12;,
  210.   3;2,14,4;,
  211.   3;2,12,14;,
  212.   3;4,16,6;,
  213.   3;4,14,16;,
  214.   3;6,18,8;,
  215.   3;6,16,18;,
  216.   3;8,10,0;,
  217.   3;8,18,10;,
  218.   3;3,21,1;,
  219.   3;5,21,3;,
  220.   3;7,21,5;,
  221.   3;9,21,7;,
  222.   3;1,21,9;,
  223.   3;11,20,13;,
  224.   3;13,20,15;,
  225.   3;15,20,17;,
  226.   3;17,20,19;,
  227.   3;19,20,11;;
  228.  }
  229.  MeshTextureCoords {
  230.   12;
  231.   1.247738;1.090900;,
  232.   1.429760;-0.025424;,
  233.   0.393010;-0.538542;,
  234.   -0.429760;0.260658;,
  235.   0.098491;1.267708;,
  236.   0.812391;1.038323;,
  237.   1.137787;0.092693;,
  238.   0.270136;-0.235774;,
  239.   0.104617;0.124840;,
  240.   0.122129;0.829169;,
  241.   0.613314;0.443372;,
  242.   0.614708;0.463340;;
  243.  }
  244. }
  245.